import request from '@/utils/request'

// 登录
export const reqLoginAsync = (data) => {
  return request.post('/admin/acl/index/login', data)
}
// 获取用户信息
export const reqGetUserInfoAsync = () => {
  return request.get('/admin/acl/index/info')
}
// 退出登录使token过期
export const reqLogoutAsync = () => {
  return request.post('/admin/acl/index/logout')
}
